<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>

    <base target="_self">
</head>
<body>
<p>绝对链接：</p>

<a href="http://www.w3school.com.cn">W3School</a>

<p>相对链接：</p>


<div>
<a href="/index.html">W3School</a>
</div>
</body>
</html>



